package com.zxl.feign;

import com.zxl.vo.GoodsType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(
        value = "goods"
)
public interface HomeFeign {

    @RequestMapping("/goodstype/list")
    List<GoodsType> list();

}
